package at.im.utils;

public class Entity 
{
	int 		m_entityid;
	int 		m_tilesetid;
	String 		m_name;
	String 		m_timestamp;
	int[]		m_states;
	int			m_defaultstate;
	
	public Entity()
	{}
	
	public Entity(int entityid, int tilesetid, String name, String timestamp, int[] states, int defaultstate)
	{
		m_entityid 		= entityid;
		m_tilesetid 	= tilesetid;
		m_name 			= name;
		m_timestamp 	= timestamp;
		m_states		= states;
		m_defaultstate	= defaultstate;
	}
	
	public void setDefaultState(int defaultstate)
	{
		m_defaultstate = defaultstate;
	}
	
	public int getDefaultState()
	{
		return m_defaultstate;
	}
	
	public void setStates(int[] states)
	{
		m_states = states;
	}
	
	public int[] getStates()
	{
		return m_states;
	}
	
	public void setId(int id)
	{
		m_entityid = id;
	}
	
	public int getId()
	{
		return m_entityid;
	}
	
	public void setTilesetId(int id)
	{
		m_tilesetid = id;
	}
	
	public int getTilesetId()
	{
		return m_tilesetid;
	}
	
	public void setName(String name)
	{
		m_name = name;
	}
	
	public String getName()
	{
		return m_name;
	}
	
	public void setTimeStamp(String timestamp)
	{
		m_timestamp = timestamp;
	}
	
	public String getTimeStamp()
	{
		return m_timestamp;
	}
}
